﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace fazendo_jogo
{
    public class Fundo_da_Tela : Objeto_de_Jogo
    {
        public Fundo_da_Tela (Vector2 posicao, Texture2D textura)
            : base(posicao, textura)
        {
            
        }


        public void Draw(SpriteBatch spriteBatch , Rectangle clientbounds)
        {
            spriteBatch.Draw(this.Textura, new Rectangle(0, 0, clientbounds.Width, clientbounds.Height), Color.White);
        }

    }
}
